package com.huatai.manage.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huatai.manage.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author luoxc
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbTrialInfoVo {

    @ApiModelProperty(value = "试验id")
    private String trialId;

    @ApiModelProperty(value = "项目名称")
	private String trialName;

	@ApiModelProperty(value = "试验类型")
	private String trialType;

    @ApiModelProperty(value = "任务书号")
	private String taskNumber;

    @ApiModelProperty(value = "试验日期")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime trialTime;

    @ApiModelProperty(value = "状态")
	private String state = "1";

	@ApiModelProperty(value = "试验状态（0等待试验、1试验中、2试验完成）")
	private String trialState;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime updateTime;
}
